#include"SFMLUI.hpp"

SFML_UI UI;
int main()
{
    UI.App.Create(sf::VideoMode(800, 600), "SFML window");
    UI.pointer.Use_Pointer(false);

    sf::Event Event;

    while(UI.App.IsOpened() )
    {
        while( UI.App.GetEvent(Event) )
        {
            UI.Update(Event);
            if (Event.Type == sf::Event::Closed)
            {
                UI.App.Close();
            }

        }
        UI.App.Clear();

        UI.App.Draw(UI.pointer.Sprite);

        UI.App.Display();
    }



    return EXIT_SUCCESS;
}
